package cn.stylefeng.guns.modular.auth.demo;

/**
 * @author allen
 * @version 1.0
 * @date 2021/4/14 23:40
 */
public class MallardDuck extends Duck {

    public MallardDuck() {
        flyBehavior = new FlyWithWings();
        quackBehavior = new MuteQuack();
    }

    @Override
    public void disPlay() {
        System.out.println("i am mallardDuck yes");

    }
}
